

  exports.sendfail = function sendfail (res, message) {
    var s2cdata =
    {
      Data: JSON.stringify(''),
      ResultFlag: 400,
      Message: message
    };
    var str = JSON.stringify(s2cdata);
    res.send(str);
  };
  exports.sendSucess = function sendSucess (res, ret, message) {
    var s2cdata =
    {
      Data: JSON.stringify(ret),
      ResultFlag: 200,
      Message: message
    };
    var str = JSON.stringify(s2cdata);

    
    res.send(str);
  };
  exports.normalsendSucess = function normalsendSucess (res, message) {
    var s2cdata =
    {
      Data:'',
      ResultFlag: 200,
      Message: message
    };
    var str = JSON.stringify(s2cdata);
    res.send(str);
  };

